<?
require 'inc_security.php';
$user_id = getValue('uid','int','GET',0);
if(!$user_id)
    redirect(call_module_file('bills','listing'));
$db_query = new db_query('SELECT * FROM users WHERE use_id = '.$user_id);
$users = mysql_fetch_assoc($db_query->result);
if(!$users)
    redirect(call_module_file('bills','listing'));
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?=$load_header?>
</head>
<body>
<div class="module_header bold fix"><?=$module_name?></div>
    <div id="wrapper" class="well">
        <div class="row">
            <div class="span3">Khách hàng</div>
            <div class="span7"><?=$users['use_firstname'] . ' ' .$users['use_lastname']?></div>
        </div>
        <div class="row">
            <div class="span3">Email</div>
            <div class="span7"><?=$users['use_email']?></div>
        </div>
        <div class="row">
            <div class="span3">Địa chỉ</div>
            <div class="span7"><?=$users['use_contact']?></div>
        </div>
        <div class="row">
            <div class="span3">SĐT</div>
            <div class="span7"><?=$users['use_phone']?></div>
        </div>
        <div class="row">
            <div class="span5"><a href="<?=call_module_file('bills','listing')?>">Quay lại danh sách</a></div>
        </div>
    </div>
</body>
</html>